import java.util.Scanner;
public class Prices
{
   /**
      A method to determine and return the average price
   */
   public static double averagePrice(double[] priceData)
   {
      int len=priceData.length;
      double sum=0,avg=0;
      for(int i=len-1;i>=0;i--){
         sum=sum+priceData[i];
      }
      avg=sum/len;
      // your work here
      return avg;
   }
}